$OpenBSD: patch-modules_db_postgres_Makefile,v 1.1 2012/04/22 21:44:24 sthen Exp $
--- modules/db_postgres/Makefile.orig	Fri Feb  3 15:08:40 2012
+++ modules/db_postgres/Makefile	Fri Feb  3 15:09:06 2012
@@ -40,7 +40,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
 # extra install for kamailio
 
 install-pgsql-scripts: $(bin_prefix)/$(bin_dir)
-		PGSQLON=yes make -C ../../utils/kamctl/ install-modules
+		PGSQLON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
 
 install-scripts: install-pgsql-scripts
 
